﻿<!DOCTYPE html>
<html lang="zh">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <meta charset="utf-8" />
    <title>链接</title>
    <link href="Content/css/bootstrap.min.css" rel="stylesheet" />
    <link href="Content/css/main.css" rel="stylesheet" />
    <style type="text/css">
        html, body {
            width: 100%;
            /*height: 100%;*/
        }

        body {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
        }
    </style>
    <script src="Scripts/jquery-2.2.1.min.js"></script>
    <script>
        function getQueryString(name) {
            var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
            var r = window.location.search.substr(1).match(reg);
            if (r != null) {
                return unescape(r[2]);
            }
            return null;
        }
        function f_gourl() {
            var b = getQueryString('b');
            if (b == "back") {
                history.go(-2);
            } else {
                history.back();
            } 
        }
        $(document).ready(function () {
            var url = getQueryString('u');
            var title = getQueryString('t');
            $(".container-title-main").html(title);
            $("#ifr_pay").attr("src", url);
        });
    </script>
</head>
<body>
    <div class="bg">
        <div class="container-fluid navbar-fixed-top top-bar">
            <div class="container-title">
                <div class="container-title-back" onclick="f_gourl()"></div>
                <div class="container-title-main"></div>
            </div>
        </div>
        <div class="clear50"></div>
    </div>
    <iframe id="ifr_pay" name="ifr_pay" src="" frameborder="0" scrolling="auto" marginheight="0" marginwidth="0" style="width:100%;height:1000px"></iframe>
</body>
</html>
